<?php

function form_has_errors()
{
  return sfContext::getInstance()->getRequest()->hasErrors();
}
